package webdemo.controller.category;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class Category {
	@RequestMapping("/category-grid.do")
	public ModelAndView categoryGrid(Model model){
		return new ModelAndView("category/category-grid");
	}
	
	@RequestMapping("/category-list.do")
	public ModelAndView categoryList(Model model){
		return new ModelAndView("category/category-list");
	}
}